package com.uni.domain;

public class Photo implements Identifiable {

    private Long id;
    private byte[] photo;
    private String contentType;

    public byte[] getPhoto() {
        return photo;
    }

    public Photo() {

    }

    public void setPhoto(byte[] photo) {
        this.photo = photo;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public boolean isNew() {
        return true;
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }
}
